from app.common.model import BaseModel, RecodeMixinModel
from sqlalchemy import Column, String, INT


class UserModel(BaseModel):
    __tablename__ = 'user'
    id = Column(INT, autoincrement=True, primary_key=True, comment='自增ID')
    username = Column(String(32), nullable=False, comment='用户名')
    password = Column(String(32), nullable=False, comment='密码')
    phone = Column(String(32), nullable=False, comment='手机号')
